Ext.define('DragonApp.store.Journal', {
    extend: 'Ext.data.TreeStore',

    alias: 'store.JournalStore',

    root: {
        text: '玩家操作',
        id: 'root',
        expanded: true,
        children: [{
                id: '1',
                text: '登录',
                leaf: false,
                expanded: true,
                children: [
                    { id: '10', text: '登录', leaf: true },
                    { id: '11', text: '下线', leaf: true }
                ]
            },
            {
                id: '2',
                text: '背包道具',
                leaf: false,
                expanded: true,
                children: [
                    { id: '20', text: '道具使用', leaf: true },
                    { id: '21', text: '道具出售', leaf: true },
                    { id: '22', text: '符文合成', leaf: true },
                    { id: '23', text: '装备锻造', leaf: true }
                ]
            },
            {
                id: '3',
                text: '功能养成',
                leaf: false,
                expanded: true,
                children: [
                    { id: '30', text: '佣兵招募', leaf: true },
                    { id: '31', text: '佣兵升星', leaf: true },
                    { id: '32', text: '技能解锁', leaf: true },
                    { id: '33', text: '技能升级', leaf: true }
                ]
            },
            {
                id: '4',
                text: '副本',
                leaf: false,
                expanded: true,
                children: [
                    { id: '40', text: '据点战斗', leaf: true },
                    { id: '41', text: '拾取地图箱子', leaf: true },
                    { id: '42', text: '完成任务', leaf: true }
                ]
            },
            {
                id: '5',
                text: '入侵',
                leaf: false,
                expanded: true,
                children: [
                    { id: '50', text: '据点战斗', leaf: true },
                    { id: '51', text: '拾取宝藏', leaf: true }
                ]
            },
            {
                id: '6',
                text: '竞技场',
                leaf: false,
                expanded: true,
                children: [
                    { id: '61', text: '天梯战斗', leaf: true },
                    { id: '62', text: '联赛宝箱', leaf: true }
                ]
            },
            {
                id: '7',
                text: '商品购买',
                leaf: false,
                expanded: true,
                children: [
                    { id: '70', text: '商城购买', leaf: true }
                ]
            },
            {
                id: '8',
                text: '占卜',
                leaf: false,
                expanded: true,
                children: [
                    { id: '80', text: '佣兵占卜', leaf: true },
                    { id: '81', text: '技能占卜', leaf: true }
                ]
            },
            {
                id: '9',
                text: '奖励领取',
                leaf: false,
                expanded: true,
                children: [
                    //  { id: '90', text: '签到',         leaf: true },
                    { id: '91', text: '完成日常任务', leaf: true },
                    { id: '92', text: '领取成就点宝箱', leaf: true },
                    { id: '93', text: '领取活跃度宝箱', leaf: true },
                    { id: '94', text: '领取战报/邮件奖励', leaf: true },
                    { id: '95', text: '接受好友金币', leaf: true }
                ]
            }
        ]
    }
});